<form method="post" th:action="|${actionBaseUrl}/edit|" enctype="multipart/form-data" class="pageForm required-validate" onsubmit="return iframeCallback(this, pageRefresh)">
    <th:block th:utext="|${gLt}input type=${sQ2}hidden${sQ2} id=${sQ2}id${sQ2} name=${sQ2}id${sQ2} ${gTV}=${sQ2}${sDr}${sKr}entity.id${sKl}${sQ2}${gGt}|"></th:block>
    <input type="hidden" id="cmd5" name="cmd5" value="">
    <input type="hidden" id="uid" name="uid" value="">
    <input type="hidden" id="randomData" name="randomData" value="">
    <div class="ibox no-margins no-padding no-borders">
        <div class="ibox-title p-xs ljFixBoxTitle">
            <div class="btn btn-sm btn-primary pull-right" id="btnEditSubmit"><i class="fa fa-paste">保存</i></div>
        </div>
        <div style="height:40px;"></div>
        <div class="ibox-content">
            <div class="row">
                <th:block th:each="item : ${beanFieldList}">
                    <th:block th:if="${item.columnJava} != 'id' and ${item.columnJava} != 'dataStatus' and ${item.columnJava} != 'createTime' and ${item.columnJava} !='modifyTime'">
                        <div class="form-group col-md-4"><label>[[${item.columnDesc}]](<b class="text-danger">*</b>):</label>
                            <th:block th:utext="|${gLt}input th:name=${sQ2}${item.columnJava}${sQ2} type=${sQ2}text${sQ2}|"></th:block>
                            <th:block th:utext="|class=${sQ2}form-control input-sm required${sQ2} th:maxlength=${sQ2}${item.columnMax}${sQ2}|"></th:block>
                            <th:block th:utext="|${gTV}=${sQ2}${sDr}${sKr}entity.${item.columnJava}${sKl}${sQ2}${gGt}|"></th:block>
                        </div>
                    </th:block>
                </th:block>
            </div>
        </div>
    </div>
</form>
<script>
    jQuery(function ($) {
        $(".chosen-select").chosen();
        $("#btnEditSubmit").on("click", function () {
            var values = {};
            modifyVerf(values);
            $("#cmd5").val(values.cmd5);
            $("#uid").val(values.uid);
            $("#randomData").val(values.randomData);
            $(this).closest("form").submit();
        });
    });
</script>
